package com.ccut.lc.dao;

import com.ccut.lc.model.Product;
import com.ccut.lc.model.ProductType;
import com.ccut.lc.model.QueryVo;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface ProductListMapper {
    public void addProduct(Product pl);
    public List<Product> selProductList(QueryVo queryVo);
    public int getTotal(QueryVo queryVo);
    public void delProduct(int pid);

    Product findProductById(Integer id);
    public List<ProductType> findProductType();

    void updateProduct(Product product);
}
